<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\CustomerCommuHistory */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="customer-commu-history-form">

    <?php $form = ActiveForm::begin(['layout' => 'horizontal']); ?>

    <?= $form->field($model, 'history_date')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'history_contact')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'history_result')->textarea(['rows' => 6]) ?>


    <div class="row">
        <div class="col-sm-8 col-sm-offset-3">
            <div class="form-group">
                <?= Html::submitButton($model->isNewRecord ? '创建' : '更新', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
            </div>
        </div>
    </div>
    <?php ActiveForm::end(); ?>

</div>
